package com.ctshk.rpc.custom.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 团期线下渠道
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_customized_trip_schedule_channel")
@ApiModel(value="CustomizedTripScheduleChannel对象", description="团期线下渠道")
public class CustomizedTripScheduleChannel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "团期id")
    private Long scheduleId;

    @ApiModelProperty(value = "类型。1：自营禁售，2：所有部门，3：指定部门/人员")
    private Integer visableType;

    @ApiModelProperty(value = "加幅类型")
    private Integer adjustType;

    @ApiModelProperty(value = "加幅值")
    private BigDecimal amount;

    @ApiModelProperty(value = "加幅百分比")
    private BigDecimal percent;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
